package com.shumm.mapper;

import com.shumm.po.BtcfRelation;
import com.shumm.vo.btcVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BtcfRelationMapper {
    int add(@Param("addbtc") BtcfRelation br);

    int delete(@Param("selectById") int id);

    int update(@Param("updatebtc") BtcfRelation br);

    BtcfRelation selectById(@Param("ByIdbtc") int id);

    List<BtcfRelation> selectAll();

    boolean isExistedById(@Param("isbtc") int id);

    List<btcVo> selectByTbidAndName(@Param("content") String content, @Param("name") String name);
}
